package xyz.xmh.pattern.behavioral.visitorpattern;

/**
 * @author Administrator
 * <p>
 * 实现了电脑接口的实体类，监视器
 */
public class Monitor implements ComputerPart {
    @Override
    public void accept(ComputerPartVisitor computerPartVisitor) {
        computerPartVisitor.visit(this);
    }
}
